<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                             "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:a="http://richfaces.org/a4j" template="/embed/templateForRegister.xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
 <ui:define name="topnav">
            <ui:include src="/embed/menu.xhtml">
                <ui:param name="page" value="home" />
            </ui:include>
   </ui:define> 
 
	<ui:define name="body">

		<h:messages globalOnly="true" styleClass="message" />

		<rich:panel>
			<f:facet name="header">重设密码</f:facet>

			<h:form id="FecthPasswordForm" styleClass="register">
				<s:validateAll>
							<div class="formRow"><h:outputLabel for="password">密码<em>*</em>
					</h:outputLabel> <h:inputSecret id="password" value="#{currentCustomer.password}"
						required="true" />
				   <h:outputText>由字母，数字，下滑线组成，密码是6-10位</h:outputText> 
					<div class="validationError"><h:message for="password" /></div>
					</div>
     
     
					<div class="formRow"><h:outputLabel for="confirmPassword">确认密码<em>*</em>
					</h:outputLabel>
					 <h:inputSecret id="confirmPassword"
						value="#{reSetPassword.confirmPassword}" required="true" />
					<div class="validationError"><h:message for="confirmPassword" /></div>
					</div>
				</s:validateAll>
				<h:commandButton id="reSetPassword" value="重设"
					action="#{reSetPassword.reSetPass}" />

			</h:form>

		</rich:panel>

	</ui:define>

</ui:composition>
